package org.jsola.contract.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.dto.BaseDTO;

/**
 * @author JanusMix
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "【模板变量保存】的参数")
@Data
public class VariableDTO extends BaseDTO {

    private static final long serialVersionUID = -4370396075848351547L;

    @ApiModelProperty(notes = "变量id", example = "1", required = true)
    private Long variableId;

    @ApiModelProperty(notes = "变量内容", example = "1", required = true)
    private String content;

    @ApiModelProperty(notes = "变量名称")
    private String name;

}
